#ifndef _CONSOLE_H
#define _CONSOLE_H

#include <kernel/types.h>

extern volatile uint16_t* vga_buffer;

extern const int VGA_COLS;
extern const int VGA_ROWS;

extern int term_col;
extern int term_row;
extern uint8_t term_color;

void term_init(void);
void term_putchar(char c);
void term_write(const char* str);

#endif /* _CONSOLE_H */
